﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Class1
    {
        private string name;
        private int id;
        private int password;

        public string Name 
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public int ID
        {
            get { return this.id; }
            set { this.id = value; }
        }
        public int Password
        {
            get { return this.password; }
            set { this.password = value; }
        }

        public void User() 
        {
            Console.WriteLine("用户名{0}",name);
            Console.WriteLine("账号{0}",id);
            Console.WriteLine("密码{0}",password);
        }
    }
}
